using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMTypesOfBusinessesBusiness
    {
        public static clsTMTypesOfBusinessesController cls = new clsTMTypesOfBusinessesController();

        #region[Get-Data]
        public DataTable BindGirdTMTypesOfBusinesses()
        {
            return cls.BindGirdTMTypesOfBusinesses();
        }
        public DataTable BindGirdTMTypesOfBusinesses_Detail_Edit(int id)
        {
            return cls.BindGirdTMTypesOfBusinesses_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMTypesOfBusinesses(clsTMTypesOfBusinessesProperty obj)
        {
            return cls.InsertTMTypesOfBusinesses(obj);
        }
        public static bool UpdateTMTypesOfBusinesses(clsTMTypesOfBusinessesProperty obj)
        {
            return cls.UpdateTMTypesOfBusinesses(obj);
        }
        public static bool DeleteTMTypesOfBusinesses(int id)
        {
            return cls.DeleteTMTypesOfBusinesses(id);
        }
        public bool TMCommandTransferOrder_Check_Delete_TMSalesReport(int id)
        {
            return cls.TMCommandTransferOrder_Check_Delete_TMSalesReport(id);
        }
        #endregion

        #region[Search]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}